package com.vanysoft.business.demo.table.dao;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.vanysoft.business.demo.table.entity.TDemoTable;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TDemoTableMapper {
    int deleteByPrimaryKey(String demoTableKey);

    int insert(TDemoTable record);

    int insertSelective(TDemoTable record);

    TDemoTable selectByPrimaryKey(String demotablekey);

    int updateByPrimaryKeySelective(TDemoTable record);

    int updateByPrimaryKey(TDemoTable record);

    List<Map<String, Object>> selectByDataTypeAndSearchValue(Pagination pagination, @Param("searchValue") String searchValue, @Param("dataType") String dataType);
}